package rules;

import components.Component;

public class TagPair {

	Integer tag;
	Component comp;
	
	public TagPair(Integer tag, Component comp){
		this.tag = tag;
		this.comp = comp;
	}
	
	public Integer getTag(){
		return tag;
	}
	
	public Component getComponent(){
		return comp;
	}
	
	public void setTag(Integer tag){
		this.tag = tag;
	}
	
	public void setComponent(Component comp){
		this.comp = comp;
	}
	
	public String toString(){
		return "\"" + tag + ", " + comp.getName() + "\"";
	}
}
